import store from "./store";

export const getHandData = () => {
    const node = (storeData.tree as any).getNode(storages.get("graphicId")).data;
    // const graphic = storages.get(storages.get("graphicId"));
    const graphic = store.graphicLayer.getGraphicById(storages.get("graphicId"));
    console.log(node, graphic);
    // console.log(store.graphicLayer.getGraphicById(storages.get("graphicId")));
    return { node, graphic };
};
